package com.kingdee.eas.minghua.trademanage;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.ICoreBillBase;

public interface IWarranty extends ICoreBillBase
{
    public WarrantyCollection getWarrantyCollection() throws BOSException;
    public WarrantyCollection getWarrantyCollection(EntityViewInfo view) throws BOSException;
    public WarrantyCollection getWarrantyCollection(String oql) throws BOSException;
    public WarrantyInfo getWarrantyInfo(IObjectPK pk) throws BOSException, EASBizException;
    public WarrantyInfo getWarrantyInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public WarrantyInfo getWarrantyInfo(String oql) throws BOSException, EASBizException;
    public boolean Audit(String Audit) throws BOSException;
    public boolean UnAudit(String UnAudit) throws BOSException;
}